package com.ll19.service;

import java.util.List;

import com.ll19.model.Role;

/**
 * Business Service Interface to handle communication between web and
 * persistence layer.
 * 
 * @author <a href="mailto:dan@getrolling.com">Dan Kibler </a>
 */
public interface RoleManager extends GenericManager<Role, Long> {
	/**
	 * {@inheritDoc}
	 */
	List getRoles(Role role);

	/**
	 * {@inheritDoc}
	 */
	Role getRole(String rolename);

	/**
	 * {@inheritDoc}
	 */
	Role saveRole(Role role);

	/**
	 * {@inheritDoc}
	 */
	void removeRole(String rolename);
}
